<?php if (($this->pageCount) && ($this->pageCount > 1)): ?>

<div class="paginationControl">

<!-- Previous page link -->

<?php if (isset($this->previous)): ?>

  <a class="search_link" name="<?php echo $this->previous; ?>" href="#">&lt; Previous</a> |


<?php else: ?>

  <span class="disabled">&lt; Previous</span> |

<?php endif; ?>

<!-- Numbered page links -->

<?php foreach ($this->pagesInRange as $page): ?>

  <?php if ($page != $this->current): ?>
  
    <a class="search_link" name="<?php echo $page; ?>" href="#"><?php echo $page; ?></a> |

  <?php else: ?>

    <?php echo $page; ?> |

  <?php endif; ?>

<?php endforeach; ?>

 

<!-- Next page link -->

<?php if (isset($this->next)): ?>

  <a class="search_link" name="<?php echo $this->next; ?>" href="#">Next &gt;</a>

<?php else: ?>

  <span class="disabled">Next &gt;</span>

<?php endif; ?>

</div>

<?php endif; ?>